<?php

$oDb = &Database::get();
$oTpl = &App::getTemplate();
$oReq = &App::getRequest();
$oSrvAdmin = &App::getModuleService('Admin', 'Admin');

if ( $sUrl = $oReq->get('url') )
{
	App::gotoUrl($sUrl, array());
}

$oTpl->assign(array
(
	'aItems' => $oSrvAdmin->getOptions(),
));

?>